package com.inforich.appManage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.inforich.appManage.vo.AppUserVO;
import com.inforich.common.core.domain.AjaxResult;
import java.util.List;
import java.util.Map;
import com.inforich.appManage.domain.AppUser;

/**
 * app用户Service接口
 *
 * @author hjm
 * @date 2022-10-27
 */
public interface IAppUserService extends IService<AppUser> {

  Page<AppUserVO> pageAppUserVO(Page<AppUserVO> page, Map<String, Object> map);

  List<AppUserVO> listAppUserVO(Map<String, Object> map);

  /**
   * 分页列表
   */
  Page<AppUser> pageAppUser(Page<AppUser> page, Map<String, Object> map);

  /**
   * 列表
   */
  List<AppUser> listAppUser(Map<String, Object> map);

  AppUser getByAccount(String account);

  /**
   * 根据身份证查询
   */
  AppUser getByIdnumber(String idnumber);

  String getRoleCodeByUserId(String id);

  AjaxResult removeAppUser(String id);
}
